package com.minyue.enums;

/**
 * @author ：minyue
 * @date ：Created in 2021/7/26 12:26 上午
 * @description： 通过getMapper执行动态代理的时候执行的方法名称
 */
public enum MapperMethodEnum {

    INSERT("insert", "新增"),
    UPDATE("update", "修改"),
    DELETE("delete", "删除"),
    SELECT("select", "查询");

    private String method;

    private String desc;

    MapperMethodEnum(String method, String desc) {
        this.method = method;
        this.desc = desc;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
